//
//  ORPEViewController.m
//  News
//
//  Created by rimi on 2016/12/8.
//  Copyright © 2016年 dongfumei. All rights reserved.
//

#import "ORPEViewController.h"

@interface ORPEViewController ()

@property (nonatomic,strong) UIWebView   *webView;

@end

@implementation ORPEViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.view addSubview:self.webView];
    
    NSURL *url = [NSURL URLWithString:self.iDSurl];
    NSURLRequest *request = [NSURLRequest requestWithURL:url];
    [self.webView loadRequest:request];
}

- (UIWebView *)webView{
    
    if (!_webView) {
        
        _webView=[[UIWebView alloc]initWithFrame:CGRectMake(0, -64, kwidth, kheight)];
    }
    return _webView;
}


@end
